<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        for(var i=0; i<10; i++){
            //再循环里面在创建一个循环，用来控制图形宽度
            for(var j=0; j<5; j++){
                document.write("*");
            
            }
           
            document.write("<br />")
        }
       
    </script>
</head>
<body>
    
</body>
</html>